import React from 'react';
import { Card, Tabs } from 'antd';
import { CompanyForm } from './CompanyForm';
import { TabItem } from '../types';

interface CompanyInfoProps {
  form: any;
}

export const CompanyInfo: React.FC<CompanyInfoProps> = ({ form }) => {
  const companyTabItems: TabItem[] = [
    {
      key: 'mainCode',
      label: '公司信息',
      children: <CompanyForm form={form} />,
    },
    // {
    //   key: 'investment',
    //   label: '对外投资',
    //   children: <div style={{ padding: 16 }}>对外投资内容...</div>,
    // },
    // {
    //   key: 'overseas',
    //   label: '境外投资',
    //   children: <div style={{ padding: 16 }}>境外投资内容...</div>,
    // },
    // {
    //   key: 'accounting',
    //   label: '会计主体',
    //   children: <div style={{ padding: 16 }}>会计主体内容...</div>,
    // },
  ];

  return (
    <Tabs items={companyTabItems} size="small" />
  );
};
